﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using GsifWeb4.Models;
using System.Web.Mvc;

namespace GsifWeb4.ViewModels
{
    public class MatchReportSelPositionsViewModel
    {
        public SelectList LineUps { get; set; }

        public MatchReportSelPositionsViewModel(int id)
        {
            List<Common.DropDownItem> itemList = new List<Common.DropDownItem>();
            itemList.Add(new Common.DropDownItem("11-manna", -1));
            itemList.Add(new Common.DropDownItem(LineUp.Eleven_343));
            itemList.Add(new Common.DropDownItem(LineUp.Eleven_352));
            itemList.Add(new Common.DropDownItem(LineUp.Eleven_433));
            itemList.Add(new Common.DropDownItem(LineUp.Eleven_442));
            itemList.Add(new Common.DropDownItem(LineUp.Eleven_451));

            itemList.Add(new Common.DropDownItem("", -2));
            itemList.Add(new Common.DropDownItem("7-manna", -3));
            itemList.Add(new Common.DropDownItem(LineUp.Seven_222));
            itemList.Add(new Common.DropDownItem(LineUp.Seven_231));
            itemList.Add(new Common.DropDownItem(LineUp.Seven_321));

            itemList.Add(new Common.DropDownItem("", -4));
            itemList.Add(new Common.DropDownItem("Innefotboll", -5));
            itemList.Add(new Common.DropDownItem(LineUp.Indoor_22));

            LineUps = new SelectList(itemList, "Value", "Text");
        }
    }
}